package com.sec.user.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sec.base.entity.BaseEntity;

@Entity
@Table(name = "t_s_user")
public class User extends BaseEntity {

	@Column(name = "user_name", length = 64, unique = true, nullable = false)
	private String userName;

	@Column(name = "password", length = 32, nullable = false)
	private String password;

	@Column(name = "phone", length = 11)
	private String phone;

	@Column(name = "real_name", length = 128)
	private String realName;

	@Column(name = "email", length = 128)
	private String email;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

}
